package com.easy.mapper;

import com.easy.bean.AdoptBean;
import com.easy.bean.FosterBean;
import com.easy.util.Page;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
@Mapper
public interface FosterBeanDao {
    int add(@Param("param") FosterBean fosterBean);

    int del(@Param("id") Integer id);

    int edit(@Param("param") FosterBean fosterBean);

    FosterBean one(@Param("id")Integer id);

    List<FosterBean> all(@Param("param") FosterBean fosterBean);

    int pageCount(@Param("param") FosterBean fosterBean);

    List<FosterBean> page(@Param("page") Page page, @Param("param") FosterBean fosterBean);
}
